package com.ben.chatroom.session;

/**
 * @author huangyijun
 */
public interface ServerSession {

  void writeAndFlush(Object pkg);

  String getSessionId();

  boolean isValid();

  String getUserId();
}
